/*
 * @Author: 高瑞寒 15932717091@163.com
 * @Date: 2022-01-15 20:01:02
 * @LastEditTime: 2022-05-20 23:06:44
 * @LastEditors: 高瑞寒 15932717091@163.com
 * @Description:
 */
import { createApp } from 'vue'
import App from './App.vue'
import 'default-passive-events'

import router from './router'
import store from './store'
import installElementPlus from './plugins/element'
import installFilters from '@/filters'
import '@/styles/index.scss'
import installIcons from '@/icons'
import i18n from '@/i18n'
import installPrint from '@/directives'
// 路由鉴权
import './permission'

const app = createApp(App)

installElementPlus(app)
installPrint(app)
installIcons(app)
installFilters(app)
app
  .use(store)
  .use(router)
  .use(i18n)
  .mount('#app')
